package com.spring.cn.config.collections;

import java.util.Map;

/**
 * @author liangd
 * date 2020-11-13 14:58
 * code map
 */
public class CompanyMapBean {
    /**
     * 公司名
     */
    private String name;
    /**
     * 地址
     */
    private String address;
    /**
     * 产品
     */
    private Map<String,ProductBean> productBeanMap;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Map<String, ProductBean> getProductBeanMap() {
        return productBeanMap;
    }

    public void setProductBeanMap(Map<String, ProductBean> productBeanMap) {
        this.productBeanMap = productBeanMap;
    }

    @Override
    public String toString() {
        return "CompanyMapBean{" +
                "name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", productBeanMap=" + productBeanMap +
                '}';
    }
}
